{assign var="title" value="Users"}
{include file="header.tpl.html"}


<form action="{$smarty.server.REQUEST_URI}" method="post" class="form ajax">

<div class="content">
	
	<div class="toolbar">
		<ul class="buttons">
			{include file="shop/products/_edit_buttons.tpl.html"}
		</ul>
		
		<div class="tabs">
			<ul class="tabs right">
				<li><a href="#details">Details</a></li>
				{if !$product.parent_id}<li><a href="#categories">Categories</a></li>{/if}
				<li><a href="#price-stock">Price &amp; stock</a></li>
				<li><a href="#meta">Meta data</a></li>
				<li><a href="#simpleattributes">Simple attributes</a></li>
				{if !$product.parent_id}<li><a href="#subproducts">Sub-products</a></li>{/if}
			</ul>
		</div>
		<br class="clear" />
	</div>
	
	
	<form action="{$smarty.server.REQUEST_URI}" method="post" class="form ajax">
		
		<div class="content-below-toolbar" id="details">
			{include file="shop/products/_details.tpl.html"}
		</div>
		
		{if !$product.parent_id}
		<div class="content-below-toolbar" id="categories">
			{include file="shop/products/_categories.tpl.html"}
		</div>
		{/if}
		
		<div class="content-below-toolbar" id="price-stock">
			{include file="shop/products/_price-stock.tpl.html"}
		</div>
		
		<div class="content-below-toolbar" id="meta">
			{include file="shop/products/_meta.tpl.html"}
		</div>
		
		<div class="content-below-toolbar" id="simpleattributes">
			{include file="shop/products/_simpleattributes.tpl.html"}
		</div>
		
		{if !$product.parent_id}
		<div class="content-below-toolbar" id="subproducts">
			{include file="shop/products/_subproducts.tpl.html"}
		</div>
		{/if}
		
	</form>
	
</div>



</form>


{include file="footer.tpl.html"}